/*
 * Copyright 2014-2017 Cavium, Inc.
 * The contents of this file are subject to the terms of the Common Development
 * and Distribution License, v.1,  (the "License").
 *
 * You may not use this file except in compliance with the License.
 *
 * You can obtain a copy of the License at available
 * at http://opensource.org/licenses/CDDL-1.0
 *
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

#ifndef __rv2p_proc1_h__
#define __rv2p_proc1_h__
#include "bcmtype.h"

u32_t rv2p_proc1[] = {
    0x00000010, 0xb1800006, 
    0x0000001f, 0x01060201, 
    0x00000008, 0x05000000, 
    0x00000018, 0x00020000, 
    0x00000008, 0x050000ff, 
    0x00000018, 0x00020000, 
    0x00000008, 0xac000001, 
    0x00000008, 0x07800000, 
    0x0000000c, 0x2f800001, 
    0x00000000, 0x2b000000, 
    0x00000000, 0x2b800000, 
    0x00000010, 0x91e10002, 
    0x00000008, 0xac000001, 
    0x00000010, 0x203f0058, 
    0x00000010, 0x213f0003, 
    0x00000010, 0x20bf0032, 
    0x00000018, 0x8000fffd, 
    0x00000008, 0x03800800, 
    0x00000010, 0xb6380e01, 
    0x00000010, 0xb1b8b00d, 
    0x0000000b, 0x2fdf0002, 
    0x00000000, 0x03d80000, 
    0x00000000, 0x2c380000, 
    0x00000010, 0x91d40000, 
    0x00000008, 0x05000055, 
    0x00000018, 0x8000006e, 
    0x00000018, 0x80000145, 
    0x00000008, 0x02000002, 
    0x0000000f, 0x42e0001c, 
    0x00000010, 0x91840a11, 
    0x00000010, 0x2c62000b, 
    0x00000018, 0x8000001b, 
    0x00000008, 0x02000002, 
    0x0000000f, 0x42e0001c, 
    0x00000010, 0x91840a16, 
    0x00000008, 0x2c8000b0, 
    0x00000008, 0x2d000008, 
    0x00000010, 0x91d40000, 
    0x00000008, 0x2d800108, 
    0x00000018, 0x80000074, 
    0x00000018, 0x80000012, 
    0x00000008, 0xb1000001, 
    0x00000008, 0x2c8000b0, 
    0x00000008, 0x2d000008, 
    0x00000008, 0x2d800001, 
    0x00000018, 0x80000061, 
    0x0000000b, 0x2fdf0002, 
    0x0000000c, 0x1f800002, 
    0x00000000, 0x2c070000, 
    0x00000010, 0x91de0000, 
    0x00000018, 0x8000ffd9, 
    0x0000000b, 0x2fdf0002, 
    0x0000000c, 0x1f800000, 
    0x00000000, 0x2c070000, 
    0x00000010, 0x91de0000, 
    0x00000018, 0x8000ffd4, 
    0x0000000c, 0x1f800002, 
    0x00000018, 0x8000ffd2, 
    0x00000010, 0x0ce70002, 
    0x00000010, 0x2ce20046, 
    0x0000000c, 0x29800002, 
    0x0000000c, 0x1f800002, 
    0x00000000, 0x2adf0000, 
    0x00000008, 0x2a000005, 
    0x00000018, 0x8000ffcb, 
    0x00000008, 0x02240042, 
    0x00000018, 0x00040000, 
    0x00000018, 0x80000000, 
    0x00000018, 0x8000001b, 
    0x00000018, 0x80000060, 
    0x00000018, 0x800000a0, 
    0x00000018, 0x800000da, 
    0x00000018, 0x80000000, 
    0x00000018, 0x80000000, 
    0x00000018, 0x80000000, 
    0x00000018, 0x80000000, 
    0x00000018, 0x80000000, 
    0x00000018, 0x80000000, 
    0x00000018, 0x80000000, 
    0x00000018, 0x80000000, 
    0x00000018, 0x80000121, 
    0x00000018, 0x80000000, 
    0x00000018, 0x80000000, 
    0x00000018, 0x80000000, 
    0x00000018, 0x80000000, 
    0x00000018, 0x80000000, 
    0x00000018, 0x800000f0, 
    0x00000018, 0x80000000, 
    0x00000018, 0x80000120, 
    0x00000018, 0x8000014a, 
    0x00000018, 0x80000117, 
    0x00000018, 0x8000016d, 
    0x00000018, 0x80000000, 
    0x00000018, 0x80000000, 
    0x00000018, 0x80000000, 
    0x00000010, 0x91d40000, 
    0x0000000c, 0x29800001, 
    0x0000000c, 0x1f800001, 
    0x00000008, 0x2a000002, 
    0x00000008, 0x07800000, 
    0x00000018, 0x8000ffa7, 
    0x00000008, 0x03800100, 
    0x00000010, 0xb73c0e00, 
    0x00000010, 0xb1bcb00a, 
    0x0000000b, 0x2fdf0002, 
    0x00000000, 0x03d80000, 
    0x00000000, 0x2c3c0000, 
    0x00000010, 0x91d40000, 
    0x00000008, 0x05000055, 
    0x00000018, 0x8000001a, 
    0x00000018, 0x800000f1, 
    0x00000010, 0x2c6201c4, 
    0x00000018, 0x80000006, 
    0x00000008, 0x2c8000b1, 
    0x00000008, 0x2d000009, 
    0x00000010, 0x91d40000, 
    0x00000008, 0x2d800107, 
    0x00000018, 0x80000026, 
    0x0000000c, 0x29800000, 
    0x0000000c, 0x1f800000, 
    0x00000010, 0x91de0000, 
    0x00000000, 0x2adf0000, 
    0x00000010, 0x2e670005, 
    0x00000010, 0x0ce20004, 
    0x00000018, 0x80000005, 
    0x00000008, 0x2a000011, 
    0x00000018, 0x80000002, 
    0x00000008, 0x2a000006, 
    0x00000018, 0x8000ff8b, 
    0x0000000c, 0x71620019, 
    0x00000008, 0x2c8000b0, 
    0x00000008, 0x2d000008, 
    0x00000008, 0x2d800001, 
    0x00000018, 0x00020000, 
    0x00000018, 0x00020000, 
    0x00000000, 0x06820000, 
    0x00000010, 0xb18f0004, 
    0x00000010, 0xb18f1403, 
    0x00000008, 0x2a000001, 
    0x00000010, 0x91d40000, 
    0x00000000, 0x07801400, 
    0x00000018, 0x000d0000, 
    0x00000000, 0x05020000, 
    0x00000010, 0x91de0000, 
    0x00000018, 0x000a0000, 
    0x00000000, 0x06820000, 
    0x00000010, 0x91de0000, 
    0x00000009, 0x0561ffff, 
    0x00000010, 0x918a0002, 
    0x00000008, 0x30e1ffff, 
    0x00000018, 0x8000ff6e, 
    0x00000001, 0x05611400, 
    0x00000010, 0x918a0002, 
    0x00000008, 0xb0e10001, 
    0x00000018, 0x000d0000, 
    0x00000000, 0x06820000, 
    0x00000010, 0x91de0000, 
    0x00000009, 0x0562ffff, 
    0x00000010, 0x918a0002, 
    0x00000008, 0x3162ffff, 
    0x00000018, 0x8000ff64, 
    0x00000001, 0x05621400, 
    0x00000010, 0x918a0002, 
    0x00000008, 0xb1620001, 
    0x00000018, 0x000d0000, 
    0x00000010, 0xb1a0b013, 
    0x0000000b, 0x2fdf0002, 
    0x00000000, 0x2c200000, 
    0x00000008, 0x2c800000, 
    0x00000008, 0x2d000000, 
    0x00000010, 0x91d40000, 
    0x00000008, 0x05000055, 
    0x00000018, 0x8000ffdb, 
    0x00000008, 0x2d80011c, 
    0x00000010, 0x001f0000, 
    0x00000018, 0x8000ffe2, 
    0x0000000f, 0x47600008, 
    0x0000000f, 0x060e0001, 
    0x00000000, 0x0f580000, 
    0x00000000, 0x0a640000, 
    0x00000000, 0x0ae50000, 
    0x00000009, 0x0b66ffff, 
    0x00000000, 0x0d610000, 
    0x00000018, 0x80000015, 
    0x0000000f, 0x47600008, 
    0x0000000b, 0x2fdf0002, 
    0x00000008, 0x2c800000, 
    0x00000008, 0x2d000000, 
    0x00000010, 0x91d40000, 
    0x00000008, 0x2d80011c, 
    0x0000000f, 0x060e0001, 
    0x00000010, 0x001f0000, 
    0x00000000, 0x0f580000, 
    0x00000018, 0x8000ffd0, 
    0x00000000, 0x0a640000, 
    0x00000000, 0x0ae50000, 
    0x00000009, 0x0b66ffff, 
    0x00000000, 0x0d610000, 
    0x00000000, 0x02620000, 
    0x00000000, 0x02e00000, 
    0x0000000b, 0x2fdf0002, 
    0x00000000, 0x30050000, 
    0x00000000, 0x31040000, 
    0x00000000, 0x309a0000, 
    0x00000010, 0x0060000c, 
    0x00000010, 0x21a2000b, 
    0x00000010, 0xb1a6000a, 
    0x00000008, 0x05160001, 
    0x00000010, 0xba9a1403, 
    0x00000000, 0x03000000, 
    0x00000018, 0x80000006, 
    0x00000018, 0x8000ff2f, 
    0x00000010, 0xb6061404, 
    0x00000008, 0x03060001, 
    0x00000008, 0x2a000001, 
    0x00000018, 0x8000ff34, 
    0x00000000, 0x0c961800, 
    0x00000009, 0x0c99ffff, 
    0x00000004, 0xcc993400, 
    0x00000010, 0xba992c02, 
    0x00000008, 0x0f800000, 
    0x0000000c, 0x29800001, 
    0x0000000c, 0x29520001, 
    0x0000000c, 0x29520000, 
    0x00000008, 0x22800002, 
    0x00000008, 0x02000003, 
    0x0000000c, 0x1f800001, 
    0x00000000, 0x2adf0000, 
    0x00000000, 0x2a000800, 
    0x00000018, 0x8000ff26, 
    0x00000010, 0xb1a0b016, 
    0x0000000b, 0x2fdf0002, 
    0x00000000, 0x2c200000, 
    0x00000010, 0x91d40000, 
    0x00000008, 0x05000055, 
    0x00000018, 0x8000ff9c, 
    0x00000018, 0x80000073, 
    0x0000000f, 0x47600008, 
    0x00000000, 0x060e0000, 
    0x00000010, 0x001f0000, 
    0x00000000, 0x0f580000, 
    0x00000010, 0x91de0000, 
    0x00000000, 0x0a640000, 
    0x00000000, 0x0ae50000, 
    0x00000000, 0x0b670000, 
    0x00000000, 0x0d620000, 
    0x00000000, 0x0ce71800, 
    0x00000009, 0x0c99ffff, 
    0x00000004, 0xcc993400, 
    0x00000010, 0xba992c20, 
    0x00000008, 0x0f800000, 
    0x00000018, 0x8000001e, 
    0x0000000f, 0x47600008, 
    0x0000000b, 0x2fdf0002, 
    0x00000008, 0x2c8000b1, 
    0x00000008, 0x2d000009, 
    0x00000010, 0x91d40000, 
    0x00000008, 0x2d80012b, 
    0x0000000f, 0x060e0001, 
    0x00000010, 0x001f0000, 
    0x00000000, 0x0f580000, 
    0x00000018, 0x8000ff96, 
    0x00000000, 0x0a640000, 
    0x00000000, 0x0ae50000, 
    0x00000000, 0x0b670000, 
    0x00000000, 0x0d620000, 
    0x00000000, 0x02630000, 
    0x0000000f, 0x47620010, 
    0x00000000, 0x0ce71800, 
    0x0000000b, 0x2fdf0002, 
    0x00000000, 0x31840000, 
    0x00000000, 0x311a0000, 
    0x0000000b, 0xc20000ff, 
    0x00000002, 0x42040000, 
    0x00000001, 0x31620800, 
    0x0000000f, 0x020e0010, 
    0x00000002, 0x31620800, 
    0x00000009, 0x0c99ffff, 
    0x00000004, 0xcc993400, 
    0x00000010, 0xba992c02, 
    0x00000008, 0x0f800000, 
    0x00000010, 0x2ce20168, 
    0x0000000c, 0x29800001, 
    0x0000000c, 0x1f800001, 
    0x0000000c, 0x61420006, 
    0x00000008, 0x22000008, 
    0x00000000, 0x2adf0000, 
    0x00000008, 0x2a000004, 
    0x00000018, 0x8000feeb, 
    0x00000010, 0x91a0b009, 
    0x00000008, 0x2c8000b1, 
    0x00000008, 0x2d000009, 
    0x00000010, 0x91d40000, 
    0x00000008, 0x2d800107, 
    0x00000018, 0x8000ff75, 
    0x00000018, 0x8000000f, 
    0x00000008, 0xac000001, 
    0x00000018, 0x8000000b, 
    0x00000000, 0x0380b000, 
    0x0000000b, 0x2fdf0002, 
    0x00000000, 0x2c004000, 
    0x00000010, 0x91d40000, 
    0x00000008, 0x05000055, 
    0x00000018, 0x8000ff58, 
    0x00000018, 0x8000002f, 
    0x00000018, 0x80000005, 
    0x0000000b, 0x2fdf0002, 
    0x00000000, 0x2c000e00, 
    0x00000008, 0x2a000007, 
    0x00000018, 0x8000fed6, 
    0x00000000, 0x06820000, 
    0x0000000c, 0x29800001, 
    0x0000000c, 0x1f800001, 
    0x00000010, 0x0ce70007, 
    0x00000009, 0x0562ffff, 
    0x00000010, 0xba6c1405, 
    0x00000000, 0x2adf0000, 
    0x00000000, 0x21000000, 
    0x00000008, 0x2a000005, 
    0x00000010, 0x91d40000, 
    0x00000008, 0x2c8000b0, 
    0x00000008, 0x2d000008, 
    0x0000000c, 0x31620018, 
    0x00000008, 0x2d800001, 
    0x00000018, 0x8000ff4a, 
    0x00000018, 0x000d0000, 
    0x00000010, 0xb1a0b00d, 
    0x0000000b, 0x2fdf0002, 
    0x00000000, 0x03d80000, 
    0x00000000, 0x2c200000, 
    0x00000010, 0x91d40000, 
    0x00000018, 0x80000014, 
    0x00000010, 0x2c620002, 
    0x00000018, 0x8000000b, 
    0x0000000b, 0x2fdf0002, 
    0x00000000, 0x2c070000, 
    0x0000000c, 0x1f800001, 
    0x00000010, 0x91de0000, 
    0x00000018, 0x8000feb9, 
    0x00000008, 0x2c8000b1, 
    0x00000008, 0x2d000009, 
    0x00000010, 0x91d40000, 
    0x00000008, 0x2d800107, 
    0x00000018, 0x8000ff44, 
    0x0000000c, 0x29800001, 
    0x0000000c, 0x1f800001, 
    0x00000010, 0x91de0000, 
    0x00000000, 0x2adf0000, 
    0x00000008, 0x2a00000a, 
    0x00000008, 0x07800000, 
    0x00000018, 0x8000fead, 
    0x00000000, 0x06820000, 
    0x00000008, 0x2c8000b0, 
    0x00000008, 0x2d000008, 
    0x00000008, 0x2d800150, 
    0x00000000, 0x00000000, 
    0x00000010, 0x91de0000, 
    0x00000008, 0x2c800000, 
    0x00000008, 0x2d000000, 
    0x00000008, 0x2d800105, 
    0x00000009, 0x0562ffff, 
    0x00000010, 0x918a0002, 
    0x00000008, 0x3162ffff, 
    0x00000018, 0x8000fe99, 
    0x00000001, 0x05621400, 
    0x00000010, 0x918a0002, 
    0x00000008, 0xb1620001, 
    0x00000010, 0x91de0000, 
    0x00000018, 0x000d0000, 
    0x00000010, 0x91d40000, 
    0x00000008, 0x050000aa, 
    0x00000018, 0x8000ff14, 
    0x0000000c, 0x29800001, 
    0x0000000c, 0x1f800001, 
    0x00000008, 0x2a000009, 
    0x00000018, 0x8000fe94, 
    0x00000010, 0x91d40000, 
    0x00000008, 0x05000055, 
    0x00000018, 0x8000ff0d, 
    0x00000010, 0x91a0b002, 
    0x00000010, 0xb1e66207, 
    0x0000000b, 0x2fdf0002, 
    0x00000000, 0x2c310000, 
    0x00000009, 0x2cb1007f, 
    0x00000008, 0x2cd90000, 
    0x00000008, 0x2d000000, 
    0x00000008, 0x2d80010d, 
    0x00000010, 0xb1a80006, 
    0x00000010, 0x205f0000, 
    0x00000000, 0x2c200000, 
    0x00000000, 0x2ca70000, 
    0x00000008, 0x2d000010, 
    0x00000008, 0x2d800108, 
    0x00000018, 0x8000ff05, 
    0x00000010, 0xb1a60010, 
    0x00000010, 0x001f0000, 
    0x0000000f, 0x0f300007, 
    0x00000000, 0x0a600000, 
    0x00000000, 0x0ae10000, 
    0x0000000f, 0x4b620008, 
    0x00000009, 0x0b1600ff, 
    0x00000000, 0x0d620000, 
    0x00000009, 0x0d1a00ff, 
    0x00000010, 0x07300003, 
    0x0000000c, 0x0d1a0008, 
    0x0000000c, 0x0b160008, 
    0x0000000f, 0x4ce30018, 
    0x00000000, 0x0c992c00, 
    0x00000004, 0xcc993400, 
    0x00000008, 0x0f800000, 
    0x0000000c, 0x29800001, 
    0x00000000, 0x33310000, 
    0x00000008, 0x22000016, 
    0x00000000, 0x2adf0000, 
    0x00000008, 0x2a00000c, 
    0x00000010, 0x009f0000, 
    0x00000000, 0x2c200000, 
    0x0000000c, 0x1f800001, 
    0x00000018, 0x8000fe69, 
    0x00000010, 0x91d40000, 
    0x00000008, 0x050000aa, 
    0x00000018, 0x8000fee2, 
    0x0000000f, 0x47220008, 
    0x00000009, 0x070e000f, 
    0x00000008, 0x070e0008, 
    0x00000008, 0x02800001, 
    0x00000007, 0x02851c00, 
    0x00000008, 0x82850001, 
    0x00000000, 0x02854c00, 
    0x00000007, 0x42851c00, 
    0x00000003, 0xc3aa5200, 
    0x00000000, 0x03b10e00, 
    0x00000007, 0x4b071c00, 
    0x0000000f, 0x0f300007, 
    0x0000000f, 0x0a960003, 
    0x00000000, 0x0a955c00, 
    0x00000000, 0x4a005a00, 
    0x00000000, 0x0c960a00, 
    0x00000009, 0x0c99ffff, 
    0x00000008, 0x0d00ffff, 
    0x00000010, 0xba992c02, 
    0x00000008, 0x0f800005, 
    0x00000010, 0xb1a80008, 
    0x00000010, 0x205f0000, 
    0x0000000b, 0x2fdf0002, 
    0x00000000, 0x2c200000, 
    0x00000000, 0x2ca70000, 
    0x00000008, 0x2d000010, 
    0x00000008, 0x2d800108, 
    0x00000018, 0x8000fecd, 
    0x0000000c, 0x29800001, 
    0x00000010, 0x001f0000, 
    0x0000000c, 0x1f800001, 
    0x00000000, 0x2adf0000, 
    0x00000008, 0x2a00000d, 
    0x00000018, 0x8000fe44, 
    0x00000010, 0x91d40000, 
    0x00000008, 0x05000055, 
    0x00000018, 0x8000febd, 
    0x0000000c, 0x29800001, 
    0x0000000c, 0x1f800001, 
    0x00000008, 0x2a000007, 
    0x00000018, 0x8000fe3d, 
};
/* Calling this macro prior to loading will change value of POST_WAIT_TIMEOUT (default = 0x0)*/
#define RV2P_PROC1_POST_WAIT_TIMEOUT_LOC   5
#define RV2P_PROC1_CHG_POST_WAIT_TIMEOUT(value)  {\
    rv2p_proc1[RV2P_PROC1_POST_WAIT_TIMEOUT_LOC] = (rv2p_proc1[RV2P_PROC1_POST_WAIT_TIMEOUT_LOC] & ~0xFFFF) | (value);\
}

/* Calling this macro prior to loading will change value of MAX_BD_PAGE (default = 0xff)*/
#define RV2P_PROC1_MAX_BD_PAGE_LOC   9
#define RV2P_PROC1_CHG_MAX_BD_PAGE(value)  {\
    rv2p_proc1[RV2P_PROC1_MAX_BD_PAGE_LOC] = (rv2p_proc1[RV2P_PROC1_MAX_BD_PAGE_LOC] & ~0xFFFF) | (value);\
}

#endif /* __rv2p_proc1.h__ */

